<template>
   <header class="header">
     <span><img src="../../../assets/images/search.png" alt=""></span>
     <input type="text" placeholder="请输入地址">
   </header>
</template>

<script>
    export default {
        name: "locationHeader"
    }
</script>

<style lang="stylus" scoped>
  .header
    line-height :0.75rem
    background : #6fcdbb
    text-align center
    padding :0.2rem
    position :relative
    input
      border-radius:0.2rem
      box-sizing :border-box
      padding :0 0.7rem
      line-height :0.75rem
      width :100%
      background :#fff
      color :#666
    span
      position :absolute
      width :0.6rem
      height :0.6rem
      display:line-break
      img
        width :100%
</style>
